import request from "@/http/request";
import { apiUrl } from "./";

export function lingchuangPoint(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/lingchuangPoint`,
    params,
  });
}

export function lingchuangIncome(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/lingchuangIncome`,
    params,
  });
}

export function hospital(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/hospital`,
    params,
  });
}
export function culturePublication(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/culturePublication`,
    params,
  });
}
export function cultureContract(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/cultureContract`,
    params,
  });
}
export function community(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/community`,
    params,
  });
}

export function childElder(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/child-elder`,
    params,
  });
}

export function chenganAmount(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/chenganAmount`,
    params,
  });
}
export function gymIncome(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/gymIncome`,
    params,
  });
}

export function allExport(params) {
  return request({
    url: `${apiUrl}/daily-report/sums/excelExport`,
    params,
    method: "get",
    responseType: "blob",
  });
}
